import { http } from '@/utils/http'

export default {
  // 文化定制菜单 - 分页列表查询
  getCustomActivityPage: (params) =>
    http.get('/api/jointActivity/page', params),
  // 文化定制菜单 - 详情
  getCustomActivityDetail: (params) =>
    http.get('/api/jointActivity/queryById', params),

  // 文化定制活动 - 分页列表查询
  getLevelActivityPage: (params) =>
    http.get('/hall/hallJointActivity/activityProgramPge', params),
  // 文化定制活动 - 详情
  getLevelActivityDetail: (params) =>
    http.get('/hall/hallJointActivity/queryById', params),
  // 文化定制活动 - 创建
  createLevelActivity: (data) =>
    http.post('/hall/hallJointActivity/selfAdd', data),
  // 文化定制活动 - 审批
  approveLevelActivity: (data) =>
    http.post('/hall/hallJointActivity/approve', data),
  // 文化定制活动 - 选择节目
  getLevelActivityProgram: (params) =>
    http.get('/hall/hallJointActivity/listProgramById', params),
}
